﻿<%@ Page Title="" Language="C#" MasterPageFile="~/manage.master" AutoEventWireup="true" CodeFile="FAQmanage.aspx.cs" Inherits="Admins_FAQmanage" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
        #sub_text
        {
            width: 995px;
            margin-top: 0px;
        }
    </style>
</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderBody" Runat="Server">


<div>
        <table width="100%">
            <tr>
                <td align="center">
                    <table align="center" width="100%">
            <tr align="center">
                <td colspan="3" class="style2">
                    <asp:GridView ID="GridView1" AutoGenerateColumns="false" AllowPaging="True" runat="server"
                        Font-Size="12px" Width="997px" OnSelectedIndexChanged="GridView1_SelectedIndexChanged1"
                        OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpdating" OnRowCancelingEdit="GridView1_RowCancelingEdit"
                        OnSelectedIndexChanging="GridView1_SelectedIndexChanging">
                        <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
                        <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
                        <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
                        <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
                        <Columns>
                            <asp:BoundField DataField=" FAQId" HeaderText="问题序号" ReadOnly="True">
                                <HeaderStyle Width="40px" />
                                <ItemStyle Width="40px" />
                                <ControlStyle Width="40px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="question" HeaderText="问题内容" ReadOnly="True">
                                <HeaderStyle Width="200px" />
                                <ItemStyle Width="200px" />
                                <ControlStyle Width="200px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="answer" HeaderText="回答" ReadOnly="True">
                                <HeaderStyle Width="650px" />
                                <ItemStyle Width="650px" />
                                <ControlStyle Width="650px" />
                            </asp:BoundField>
                            
                             <asp:TemplateField HeaderText="选择">
                                <ItemTemplate>
                                    <asp:CheckBox ID="CheckBox1" runat="server" />
                                </ItemTemplate>
                            </asp:TemplateField>
                            
                            <asp:CommandField HeaderText="编辑" ShowEditButton="True" />
                        </Columns>
                    </asp:GridView>
                    &nbsp;
                </td>
            </tr>
            <tr align="center">
                <td colspan="3" class="style3">
                    <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">显示全部问题</asp:LinkButton>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
               
                   
                    <asp:LinkButton ID="LinkButton2" runat="server" OnClick="LinkButton2_Click">删除</asp:LinkButton>
                </td>
            </tr>
        </table>
                </td>
            </tr>
        </table>
    </div>
    </asp:Content>